package com.situ.allaia.model;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Order implements Serializable {
    private Long id;

    private User user;

    private LocalDateTime createTime;

    private Integer userAddrId;

    private String receiverAddr;

    private BigDecimal subTotal;

    private BigDecimal tax;

    private BigDecimal shipping;

    private String payType;

    private String state = "未支付";//订单状态

    private String description;

    private List<OrderItem> items;//所有订单项
}